//
//  NewList.m
//  CarStop
//
//  Created by lanou3g on 15/7/16.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "NewList.h"
#import "RequestPictureData.h"

@implementation NewList

- (void)downloadPicture{
    
    RequestPictureData *reqPicData = [[RequestPictureData alloc] init];
    [reqPicData requestPicture:self.newsPhotoUrl reqSuccessBlockP:^(NSData *data) {
        self.newsPhoto = [UIImage imageWithData:data];
    } reqErrorBlockP:^(NSError *error) {
        
    }];
    
}

@end
